package top.greatxiaozou.log;

import org.springframework.aop.AfterReturningAdvice;

import java.lang.reflect.Method;

public class AfterLog implements AfterReturningAdvice {
    @Override
    public void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable {
        System.out.println("对象" + target.getClass().getName() + "的方法" + method.getName() + "执行完毕，返回值为，" + returnValue);
    }
}
